package com.task.mall.dao;

import com.task.mall.bean.Admin;
import com.task.mall.bean.Login;
import com.task.mall.bean.Password;

import java.util.List;

public interface AdminDao {
    int login(Admin admin);

    List<Admin> queryAllAdmins();

    List<Admin> querySearchAdmins(Admin admin);

    int addAdminss(Admin admin);

    int deleteAdmins(int id);

    Admin getAdminsInfo(int id);

    int updateAdminss(Admin admin);

    int changePwd(Password password);

    Login getLoginInfo(String email);
}
